home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
COMPILER
/
VP10B003
/
VPC.ZIP
/
EXAMPLES
/
BP7
/
TVFM
/
TOOLS.DIF
< prev
next >
Wrap
Text File
|
1995-06-22
|
1KB
|
52 lines
Comparing files BP7\TOOLS.PAS and VP\TOOLS.PAS
***** BP7\TOOLS.PAS
14: uses Drivers, Objects, Views, Dialogs, Memory, App, MsgBox,
15: Globals, FileCopy, Gauges, Dos;
***** VP\TOOLS.PAS
14: uses {$IFDEF OS2} Os2Base, Os2Def, {$ENDIF}
15: Drivers, Objects, Views, Dialogs, Memory, App, MsgBox, Globals, FileCopy,
16: Gauges, Dos, Use32;
***** BP7\TOOLS.PAS
552:
553:
***** VP\TOOLS.PAS
553:
554: {$IFDEF OS2}
555:
556: function DriveValid(Drive: Char): Boolean;
557: var
558: DriveNum,LogDrvMap: ULong;
559: begin { LogDrvMap: Bit 0: 'A:', Bit 1: 'B:', etc }
560: if DosQueryCurrentDisk(DriveNum,LogDrvMap) = 0
561: then DriveValid := ((1 shl (Ord(Drive) - Ord('A'))) and LogDrvMap) <> 0
562: else DriveValid := False;
563: end;
564:
565: {$ELSE}
566:
***** BP7\TOOLS.PAS
588:
589: { return a list of redirected devices (drives only) }
***** VP\TOOLS.PAS
601:
602: {$ENDIF}
603:
604: { return a list of redirected devices (drives only) }
***** BP7\TOOLS.PAS
601: {$IFNDEF DPMI}
602: List := New(PDeviceCollection, Init(10,10));
***** VP\TOOLS.PAS
616: {$IFNDEF DPMI}
617: {$IFNDEF OS2}
618: List := New(PDeviceCollection, Init(10,10));
***** BP7\TOOLS.PAS
624: {$ENDIF}
625:
***** VP\TOOLS.PAS
640: {$ENDIF}
641: {$ENDIF}
642: